﻿ using ITXHWEB.Models; 
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace ITXHWEB.Controllers
{
    public partial class UBTXBWXSXController : ITXController
    { 
        public UBTXBWXSXController()
        {  
            MAPP = "UBTXBWXSX";
            foreach (KeyValuePair<string, object> kp in ENVMAIN)
            {
                TempData[kp.Key] = kp.Value;
            }
        } 
        public ActionResult UBTXBWXSX()
        {
            if (!IsLogOn)
            {
                return View();
            }
            MABF.PDCTYPE = "SX";
            ViewBag.IsAMRunReady = MABF.IsAMRunReady;
            ViewBag.IsPDCReady = MABF.IsPDCReady;
            ViewBag.IsABPReady = MABF.IsABPReady;
            ViewBag.IsAMReady = MABF.IsAMReady;
            ViewBag.IsSTEPReady = MABF.IsSTEPReady;
            ViewBag.IsStaffReady = MABF.IsStaffReady;
            ViewBag.IsStartReady = MABF.IsStart;
            ViewBag.IsGotABE = MABF.IsGotABE;
            ViewBag.ReturnUrl = Url.Action("UBTXBWXSX");
            return View();
        }
    }
}
